Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for Null statusChanges field in Job status #385

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

Miles-Garnsey
Copy link
Member

@Miles-Garnsey Miles-Garnsey commented Sep 20, 2023

From Reaper, we sometimes observe that the statusChanges field implemented as part of this PR can be null. This results in no repair progress notifications being passed to Reaper.

This PR creates an integration test to detect the problem. The actual fix is over here.

Fixes

#386

emerkle826 and others added 10 commits September 15, 2023 10:27
…hema (#346)

* Add currentStreams DTO
* add cluster name into endpoints response
* Add repair job version which follows notifications

* Add new getStatusChanges and message

* Fix formatting

* Add tests for the async endpoint in v1 also

* Change setStatusChange

* Fix test indentation

* Rename RpcParam

* Fix rebase

* Add back the payload in the IT test to the request

* Update openapi.json, make special case for return id 0 to the Rpc call - should fix the test also which can not be run otherwise on single node cluster

* Disable the test, throw exception if Cassandra refuses to repair

* Fix repair test to run repair for a keyspace with RF 2 (#351)

* Update openapi.json after rebase

---------

Co-authored-by: Erik Merkle <[email protected]>
* Allow `repair()` RPC method to take more arguments (as required by Reaper). Get the old NodeOpsResources class calling the new RPC method signature.

---------

Co-authored-by: Erik Merkle <[email protected]>

* Cancel repairs endpoint (#368)

* Add cancelAllRepairs endpoint and requisite NodeOps.
…h BigIntegers being represented in open API spec as ints. (#370)
@github-actions
Copy link

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

@Miles-Garnsey Miles-Garnsey force-pushed the bugfix/null-statuschanges branch 2 times, most recently from 64d8cc8 to b51d29f Compare September 21, 2023 03:27
@Miles-Garnsey Miles-Garnsey force-pushed the bugfix/null-statuschanges branch 4 times, most recently from d802523 to 13d2017 Compare September 21, 2023 07:35
@Miles-Garnsey Miles-Garnsey force-pushed the bugfix/null-statuschanges branch from 13d2017 to 0613d1c Compare September 21, 2023 08:16
@Miles-Garnsey Miles-Garnsey changed the title Fix for Null statusChanges field in Job status Test for Null statusChanges field in Job status Sep 22, 2023
@Miles-Garnsey
Copy link
Member Author

On hold pending the ability to test the client library from inside this repo. #389

Base automatically changed from feature/client-gen to master October 12, 2023 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants